﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class WinApiHelper
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class WinApiHelper
   ">
    <meta name="generator" content="docfx 2.48.0.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="../../apicatlog/toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="WQLAPI.Helper.WinApiHelper">
  
  
  <h1 id="WQLAPI_Helper_WinApiHelper" data-uid="WQLAPI.Helper.WinApiHelper" class="text-break">Class WinApiHelper
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">WinApiHelper</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="WQLAPI.Helper.html">WQLAPI.Helper</a></h6>
  <h6><strong>Assembly</strong>: WQLAPI.dll</h6>
  <h5 id="WQLAPI_Helper_WinApiHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class WinApiHelper</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_BitBlt_" data-uid="WQLAPI.Helper.WinApiHelper.BitBlt*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_BitBlt_System_IntPtr_System_Int32_System_Int32_System_Int32_System_Int32_System_IntPtr_System_Int32_System_Int32_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.BitBlt(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.Int32,System.Int32,System.Int32)">BitBlt(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>从指定原设备上下文像素矩形到目标设备颜色数据转换</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool BitBlt(IntPtr hdc, int x, int y, int cx, int cy, IntPtr hdcSrc, int x1, int y1, int rop)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hdc</span></td>
        <td><p>目标设备句柄</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">x</span></td>
        <td><p>目标x</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">y</span></td>
        <td><p>目标Y</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">cx</span></td>
        <td><p>源矩形和目标矩形宽度x</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">cy</span></td>
        <td><p>源矩形和目标矩形高度</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hdcSrc</span></td>
        <td><p>源文件句柄</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">x1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">y1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">rop</span></td>
        <td><p>光栅操作代码</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_CreateCompatibleDC_" data-uid="WQLAPI.Helper.WinApiHelper.CreateCompatibleDC*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_CreateCompatibleDC_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.CreateCompatibleDC(System.IntPtr)">CreateCompatibleDC(IntPtr)</h4>
  <div class="markdown level1 summary"><p>创建一个与指定设备兼容的内存设备上下文环境（dc:device context)</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr CreateCompatibleDC(IntPtr intptr_0)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_CreateDIBSection_" data-uid="WQLAPI.Helper.WinApiHelper.CreateDIBSection*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_CreateDIBSection_System_IntPtr_WQLAPI_Images_BimapModels_BitmapInfo__System_UInt32_System_Int32_System_IntPtr_System_UInt32_" data-uid="WQLAPI.Helper.WinApiHelper.CreateDIBSection(System.IntPtr,WQLAPI.Images.BimapModels.BitmapInfo@,System.UInt32,System.Int32,System.IntPtr,System.UInt32)">CreateDIBSection(IntPtr, ref BimapModels.BitmapInfo, UInt32, Int32, IntPtr, UInt32)</h4>
  <div class="markdown level1 summary"><p>创建应用程序可写入的与设备无关的位图（DIB),该函数返回一个位图句柄</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr CreateDIBSection(IntPtr intptr_0, ref BimapModels.BitmapInfo bitmapInfo, uint uint_0, int int_0, IntPtr intptr_1, uint uint_1)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td><p>设备环境句柄</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.Images.BimapModels.BitmapInfo.html">BimapModels.BitmapInfo</a></td>
        <td><span class="parametername">bitmapInfo</span></td>
        <td><p>指向BitmapInfo的指针，指定了尺寸颜色</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt32</span></td>
        <td><span class="parametername">uint_0</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">int_0</span></td>
        <td><p>指向接受指向DIB位数据值的指针</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt32</span></td>
        <td><span class="parametername">uint_1</span></td>
        <td><p>创建的位图句柄</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DeleteDC_" data-uid="WQLAPI.Helper.WinApiHelper.DeleteDC*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DeleteDC_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.DeleteDC(System.IntPtr)">DeleteDC(IntPtr)</h4>
  <div class="markdown level1 summary"><p>删除</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool DeleteDC(IntPtr intptr_0)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DeleteObject_" data-uid="WQLAPI.Helper.WinApiHelper.DeleteObject*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DeleteObject_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.DeleteObject(System.IntPtr)">DeleteObject(IntPtr)</h4>
  <div class="markdown level1 summary"><p>删除</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool DeleteObject(IntPtr intptr_0)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DrawThemeTextEx_" data-uid="WQLAPI.Helper.WinApiHelper.DrawThemeTextEx*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DrawThemeTextEx_System_IntPtr_System_IntPtr_System_Int32_System_Int32_System_String__System_Int32_System_Int32_WQLAPI_Rect__WQLAPI_Images_BimapModels__DTTOPTS__" data-uid="WQLAPI.Helper.WinApiHelper.DrawThemeTextEx(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.String@,System.Int32,System.Int32,WQLAPI.Rect@,WQLAPI.Images.BimapModels._DTTOPTS@)">DrawThemeTextEx(IntPtr, IntPtr, Int32, Int32, ref String, Int32, Int32, ref Rect, ref BimapModels._DTTOPTS)</h4>
  <div class="markdown level1 summary"><p>创建发光字</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DrawThemeTextEx(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, ref string pszText, int cchText, int dwTextFlags, ref Rect pRect, ref BimapModels._DTTOPTS pOptions)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hTheme</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hdc</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">iPartId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">iStateId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">pszText</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">cchText</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">dwTextFlags</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.Rect.html">Rect</a></td>
        <td><span class="parametername">pRect</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.Images.BimapModels._DTTOPTS.html">BimapModels._DTTOPTS</a></td>
        <td><span class="parametername">pOptions</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmExtendFrameIntoClientArea_" data-uid="WQLAPI.Helper.WinApiHelper.DwmExtendFrameIntoClientArea*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmExtendFrameIntoClientArea_System_IntPtr_WQLAPI_MARGINS__" data-uid="WQLAPI.Helper.WinApiHelper.DwmExtendFrameIntoClientArea(System.IntPtr,WQLAPI.MARGINS@)">DwmExtendFrameIntoClientArea(IntPtr, ref MARGINS)</h4>
  <div class="markdown level1 summary"><p>将窗口框架扩展到客户端区域</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmExtendFrameIntoClientArea(IntPtr hwnd, ref MARGINS margins)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hwnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.MARGINS.html">MARGINS</a></td>
        <td><span class="parametername">margins</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmIsCompositionEnabled_" data-uid="WQLAPI.Helper.WinApiHelper.DwmIsCompositionEnabled*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmIsCompositionEnabled_System_Boolean__" data-uid="WQLAPI.Helper.WinApiHelper.DwmIsCompositionEnabled(System.Boolean@)">DwmIsCompositionEnabled(out Boolean)</h4>
  <div class="markdown level1 summary"><p>检测是否开启aero glass特效</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmIsCompositionEnabled(out bool enable)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">enable</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmQueryThumbnailSourceSize_" data-uid="WQLAPI.Helper.WinApiHelper.DwmQueryThumbnailSourceSize*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmQueryThumbnailSourceSize_System_IntPtr_WQLAPI_Psize__" data-uid="WQLAPI.Helper.WinApiHelper.DwmQueryThumbnailSourceSize(System.IntPtr,WQLAPI.Psize@)">DwmQueryThumbnailSourceSize(IntPtr, out Psize)</h4>
  <div class="markdown level1 summary"><p>查询缩略图尺寸</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmQueryThumbnailSourceSize(IntPtr thumb, out Psize size)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">thumb</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.Psize.html">Psize</a></td>
        <td><span class="parametername">size</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmRegisterThumbnail_" data-uid="WQLAPI.Helper.WinApiHelper.DwmRegisterThumbnail*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmRegisterThumbnail_System_IntPtr_System_IntPtr_System_IntPtr__" data-uid="WQLAPI.Helper.WinApiHelper.DwmRegisterThumbnail(System.IntPtr,System.IntPtr,System.IntPtr@)">DwmRegisterThumbnail(IntPtr, IntPtr, out IntPtr)</h4>
  <div class="markdown level1 summary"><p>注册缩略图</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr DwmRegisterThumbnail(IntPtr Destination, IntPtr Source, out IntPtr Thumb)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">Destination</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">Source</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">Thumb</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmSetIconicThumbnail_" data-uid="WQLAPI.Helper.WinApiHelper.DwmSetIconicThumbnail*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmSetIconicThumbnail_System_IntPtr_System_IntPtr_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.DwmSetIconicThumbnail(System.IntPtr,System.IntPtr,System.Int32)">DwmSetIconicThumbnail(IntPtr, IntPtr, Int32)</h4>
  <div class="markdown level1 summary"><p>将位图发送给系统</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmSetIconicThumbnail(IntPtr hwnd, IntPtr hbmp, int dwSITFlags)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hwnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hbmp</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">dwSITFlags</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmSetWindowAttribute_" data-uid="WQLAPI.Helper.WinApiHelper.DwmSetWindowAttribute*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmSetWindowAttribute_System_IntPtr_WQLAPI_DWMWINDOWATTRIBUTE_System_IntPtr__System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.DwmSetWindowAttribute(System.IntPtr,WQLAPI.DWMWINDOWATTRIBUTE,System.IntPtr@,System.Int32)">DwmSetWindowAttribute(IntPtr, DWMWINDOWATTRIBUTE, ref IntPtr, Int32)</h4>
  <div class="markdown level1 summary"><p>设置windows窗口属性</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attr, ref IntPtr attrValue, int attrSize)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hwnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.DWMWINDOWATTRIBUTE.html">DWMWINDOWATTRIBUTE</a></td>
        <td><span class="parametername">attr</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">attrValue</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">attrSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmUnregisterThumbnail_" data-uid="WQLAPI.Helper.WinApiHelper.DwmUnregisterThumbnail*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmUnregisterThumbnail_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.DwmUnregisterThumbnail(System.IntPtr)">DwmUnregisterThumbnail(IntPtr)</h4>
  <div class="markdown level1 summary"><p>注销缩略图</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmUnregisterThumbnail(IntPtr thumb)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">thumb</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_DwmUpdateThumbnailProperties_" data-uid="WQLAPI.Helper.WinApiHelper.DwmUpdateThumbnailProperties*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_DwmUpdateThumbnailProperties_System_IntPtr_WQLAPI_ThumbnailProperties__" data-uid="WQLAPI.Helper.WinApiHelper.DwmUpdateThumbnailProperties(System.IntPtr,WQLAPI.ThumbnailProperties@)">DwmUpdateThumbnailProperties(IntPtr, ref ThumbnailProperties)</h4>
  <div class="markdown level1 summary"><p>更新缩略图</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DwmUpdateThumbnailProperties(IntPtr intptr_0, ref ThumbnailProperties propers)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.ThumbnailProperties.html">ThumbnailProperties</a></td>
        <td><span class="parametername">propers</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_EnumWindows_" data-uid="WQLAPI.Helper.WinApiHelper.EnumWindows*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_EnumWindows_WQLAPI_Helper_WinApiHelper_EnumWindowsCallback_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.EnumWindows(WQLAPI.Helper.WinApiHelper.EnumWindowsCallback,System.Int32)">EnumWindows(WinApiHelper.EnumWindowsCallback, Int32)</h4>
  <div class="markdown level1 summary"><p>枚举所有窗体</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int EnumWindows(WinApiHelper.EnumWindowsCallback lpEnumFunc, int lParam)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="WQLAPI.Helper.WinApiHelper.EnumWindowsCallback.html">WinApiHelper.EnumWindowsCallback</a></td>
        <td><span class="parametername">lpEnumFunc</span></td>
        <td><p>回调</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">lParam</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_FindWindow_" data-uid="WQLAPI.Helper.WinApiHelper.FindWindow*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_FindWindow_System_String_System_String_" data-uid="WQLAPI.Helper.WinApiHelper.FindWindow(System.String,System.String)">FindWindow(String, String)</h4>
  <div class="markdown level1 summary"><p>获取窗体的句柄函数</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr FindWindow(string lpClassName, string lpWindowName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">lpClassName</span></td>
        <td><p>窗口类名</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">lpWindowName</span></td>
        <td><p>窗口标题名</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><p>返回句柄</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_GetComboBoxInfo_" data-uid="WQLAPI.Helper.WinApiHelper.GetComboBoxInfo*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_GetComboBoxInfo_System_IntPtr_WQLAPI_COMBOBOXINFO__" data-uid="WQLAPI.Helper.WinApiHelper.GetComboBoxInfo(System.IntPtr,WQLAPI.COMBOBOXINFO@)">GetComboBoxInfo(IntPtr, ref COMBOBOXINFO)</h4>
  <div class="markdown level1 summary"><p>获取指定组合框信息</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool GetComboBoxInfo(IntPtr hwnd, ref COMBOBOXINFO pcbi)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hwnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="WQLAPI.COMBOBOXINFO.html">COMBOBOXINFO</a></td>
        <td><span class="parametername">pcbi</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_GetWindow_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindow*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_GetWindow_System_Int64_System_Int64_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindow(System.Int64,System.Int64)">GetWindow(Int64, Int64)</h4>
  <div class="markdown level1 summary"><p>函数返回与指定窗口有特定关系（如Z序或所有者）的窗口句柄</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr GetWindow(long hWnd, long nCmd)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">nCmd</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_GetWindowLongA_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindowLongA*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_GetWindowLongA_System_IntPtr_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindowLongA(System.IntPtr,System.Int32)">GetWindowLongA(IntPtr, Int32)</h4>
  <div class="markdown level1 summary"><p>获取指定窗口的信息</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ulong GetWindowLongA(IntPtr hWnd, int nIndex)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">nIndex</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.UInt64</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_GetWindowText_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindowText*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_GetWindowText_System_IntPtr_System_Text_StringBuilder_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.GetWindowText(System.IntPtr,System.Text.StringBuilder,System.Int32)">GetWindowText(IntPtr, StringBuilder, Int32)</h4>
  <div class="markdown level1 summary"><p>获取窗体标题</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void GetWindowText(IntPtr hWnd, StringBuilder lpString, int nMaxCount)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Text.StringBuilder</span></td>
        <td><span class="parametername">lpString</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">nMaxCount</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_ReleaseCapture_" data-uid="WQLAPI.Helper.WinApiHelper.ReleaseCapture*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_ReleaseCapture" data-uid="WQLAPI.Helper.WinApiHelper.ReleaseCapture">ReleaseCapture()</h4>
  <div class="markdown level1 summary"><p>释放捕获的窗体</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool ReleaseCapture()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_SelectObject_" data-uid="WQLAPI.Helper.WinApiHelper.SelectObject*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_SelectObject_System_IntPtr_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.SelectObject(System.IntPtr,System.IntPtr)">SelectObject(IntPtr, IntPtr)</h4>
  <div class="markdown level1 summary"><p>把一个对象（位图，画笔，画刷等)选入指定的设备描述表，新的对象代替同一类型的老对象</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr SelectObject(IntPtr intptr_0, IntPtr intptr_1)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_0</span></td>
        <td><p>设备描述句柄</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">intptr_1</span></td>
        <td><p>要载入对象句柄</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_SendMessage_" data-uid="WQLAPI.Helper.WinApiHelper.SendMessage*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_SendMessage_System_IntPtr_System_Int32_System_Int32_System_Int32_" data-uid="WQLAPI.Helper.WinApiHelper.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">SendMessage(IntPtr, Int32, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>发送消息</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td><p>接收消息的窗口的句柄</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">Msg</span></td>
        <td><p>消息标识符</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">wParam</span></td>
        <td><p>32位的特定附加信息，具体取决于消息</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">lParam</span></td>
        <td><p>32位的特定附加信息，具体取决于消息</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_SendMessage_" data-uid="WQLAPI.Helper.WinApiHelper.SendMessage*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_SendMessage_System_IntPtr_System_Int32_System_Int32_System_String_" data-uid="WQLAPI.Helper.WinApiHelper.SendMessage(System.IntPtr,System.Int32,System.Int32,System.String)">SendMessage(IntPtr, Int32, Int32, String)</h4>
  <div class="markdown level1 summary"><p>发送消息</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int SendMessage(IntPtr hWnd, int Msg, int wParam, string lParam)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td><p>接收消息的窗口的句柄</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">Msg</span></td>
        <td><p>消息标识符</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">wParam</span></td>
        <td><p>32位的特定附加信息，具体取决于消息</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">lParam</span></td>
        <td><p>32位的特定附加信息，具体取决于消息</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="WQLAPI_Helper_WinApiHelper_SetForegroundWindow_" data-uid="WQLAPI.Helper.WinApiHelper.SetForegroundWindow*"></a>
  <h4 id="WQLAPI_Helper_WinApiHelper_SetForegroundWindow_System_IntPtr_" data-uid="WQLAPI.Helper.WinApiHelper.SetForegroundWindow(System.IntPtr)">SetForegroundWindow(IntPtr)</h4>
  <div class="markdown level1 summary"><p>显示到前台</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool SetForegroundWindow(IntPtr hWnd)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IntPtr</span></td>
        <td><span class="parametername">hWnd</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
